package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCoinLogDao;
import com.wfcm.entity.WfCoinLogEntity;
import com.wfcm.service.WfCoinLogService;



@Service("wfCoinLogService")
public class WfCoinLogServiceImpl implements WfCoinLogService {
	@Autowired
	private WfCoinLogDao wfCoinLogDao;
	
	@Override
	public WfCoinLogEntity queryObject(Integer id){
		return wfCoinLogDao.queryObject(id);
	}
	
	@Override
	public List<WfCoinLogEntity> queryList(Map<String, Object> map){
		return wfCoinLogDao.queryList(map);
	}
	
	@Override
	public List<String> queryMonth(Map<String, Object> map){
		return wfCoinLogDao.queryMonth(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCoinLogDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCoinLogEntity wfCoinLog){
		wfCoinLogDao.save(wfCoinLog);
	}
	
	@Override
	public void update(WfCoinLogEntity wfCoinLog){
		wfCoinLogDao.update(wfCoinLog);
	}
	
	@Override
	public void delete(Integer id){
		wfCoinLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCoinLogDao.deleteBatch(ids);
	}

	@Override
	public WfCoinLogEntity queryByOrderCode(String orderCode) {
		// TODO Auto-generated method stub
		return wfCoinLogDao.queryByOrderCode(orderCode);
	}

	@Override
	public List<WfCoinLogEntity> queryAllList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfCoinLogDao.queryAllList(map);
	}
}
